<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>ES6模块化开发</title>
</head>
<body>
<!--模块化引入module1.js文件-->
<script src="module1.js" type="module"></script>
<!--模块化引入module2.js文件-->
<script src="module2.js" type="module"></script>
</body>
</html>